/*
 * Copyright (c) 2003-2004, Inversoft, All Rights Reserved
 */
package org.emergent.antbite.savant.ant.types;


import java.io.File;

import org.apache.tools.ant.types.DataType;

import org.emergent.antbite.savant.InternetProcess;
import org.emergent.antbite.savant.Process;


/**
 * <p>
 * This is an abstract base class for all internet process
 * types.
 * </p>
 *
 * @author Brian Pontarelli
 */
public abstract class InternetProcessType extends DataType implements ProcessType {

    protected InternetProcess proxy;
    

    public String getDefaultdomain() {
        return proxy.getDefaultdomain();
    }

    public void setDefaultdomain(String defaultDomain) {
        proxy.setDefaultdomain(defaultDomain);
    }

    public String getUrl() {
        return proxy.getDefaultdomain();
    }

    public void setUrl(String defaultDomain) {
        proxy.setDefaultdomain(defaultDomain);
    }

    public File getMapping() {
        return proxy.getMapping();
    }

    public void setMapping(File mapping) {
        proxy.setMapping(mapping);
    }

    public boolean isFailonmd5() {
        return proxy.isFailonmd5();
    }

    public void setFailonmd5(boolean failonmd5) {
        proxy.setFailonmd5(failonmd5);
    }

    public Process getProxy() {
        return proxy;
    }
}